package com.zjj.lbw.springbootstu.handwriting.annotation;

import com.zjj.lbw.springbootstu.handwriting.selector.ZjjImportSelector;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author zhanglei.zjj
 * @description 手写springboot，模拟核心注解@SpringBootApplication
 * @date 2023/6/24 10:25
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Configuration
@ComponentScan
@Import(ZjjImportSelector.class)
public @interface ZjjSpringBootApplication {
}
